<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>你好你好你好你好你好</title>



    <script type="text/javascript" src="js/axios-0.18.0.min.js"></script>

    <script type="text/javascript">
       /* axios.get('http://127.0.0.1:8000/test2')
            .then(function (response) {
                alert(response.data.message)

            .catch(function(error){
                alert(error)
        })

            })*/
       axios.get('http://127.0.0.1:8000/test2/')
            .then(response => {
                alert(response.data.message)
                })
            .catch(error => {
                alert(error)


            })
    </script>
</head>
<body>
    <h1>hahahahhahahahahahhhahah</h1>
</body>
</html>
